-
-
Notifications
You must be signed in to change notification settings - Fork 11
QuadDtype finfo support & Nightly CI #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: In order for this to pass CI, need to build numpy from source. Will do that in follow-up PR
You can probably just add the nightly build to the index: https://scientific-python.org/specs/spec-0004/#test-with-nightly-wheels and then assume that for building.
I dunno if you are OK with a strict NumPy 2.4 requirement, but I suppose for quaddtype it may be just as well.
Right, I was also thinking to make nightly the default build as right now or maybe even in future this repo will directly be using the upstream features (if some modifications be needed from NumPy side) |
for ppc machine building from source as nightly wheels aren't available. |
This PR is now ready, we can merge if everything sounds good! |
This pull request introduces several significant improvements and updates across the build system, CI workflows, and the core implementation of quad-precision constants for the
quaddtype
package. The main highlights are the addition of a new quad-precision constants header, improved handling of build dependencies (especially for NumPy), and updates to CI to support newer Python and OS versions.Summary of the most important changes:
Quad-Precision Constants Implementation
constants.hpp
defining quad-precision floating-point and integer constants, as well as a function for querying constants by name, leveraging SLEEF library macros and types.quadprec_get_constant
function and registration with NumPy's DType API. [1] [2] [3] [4]Build and Dependency Management
--no-build-isolation
and--break-system-packages
where appropriate. [1] [2] [3] [4] [5] [6] [7] [8]Continuous Integration and Platform Support
Type Stubs
QuadPrecision
type stub.closes #164